package com.peaksport.pkms.permit.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.peaksport.framework.base.entity.CoreBaseEntity;
import com.peaksport.framework.uuid.PKEntityType;

import lombok.Getter;
import lombok.Setter;

@SuppressWarnings("serial")
@Entity
@Table(name="t_pm_permItem")
@Getter
@Setter
public class PermItemEntity extends CoreBaseEntity {
	
	@Column(name = "FName", nullable = false, length = 80)
	private String name;
	@Column(name = "FNumber", nullable = false, length = 80)
	private String number;
	@Column(name = "FAlias_L2", nullable = false, length = 80)
	private String alias;
	@Column(name = "FLongNumber", nullable = false, length = 255)
	private String longNumber;
	@Column(name = "FFParentId", nullable = false, length = 44)
	private String parentId;
	@Column(name = "FDescription_L2", nullable = false, length = 44)
	private String description;
	
/*	@Override
	public String getBosType() {
		return "PERMITEM";
	}
	*/
	@Override
	public PKEntityType getEntityType() {
		return PKEntityType.create("PERMITEM");
	}

}
